package com.darren.euc.dao;

import java.util.List;

import com.darren.euc.entity.User;

public interface UserDao extends BaseDao<User,Integer>{
	
    public List<User> getAll();     

    public User getUserByUserName(String userName);
    
    public List<User> getUserByMobile(String mobile);
    
    public boolean IsAdmin(Integer userId,Integer functionId);
    
    public List<User> getAdminListByFunctionId(String functionId);
    
    public List<User> getUserListByFunctionId(String functionId,Integer userId);
    
}